/**
 * Created by huangchao on 2017/8/9.
 */
export const sum = (arr) => {
  let s = 0;
  for (let i=0;i<arr.length;i++) {
    s += arr[i];
  }
  return s;
}
